package com.piggy.logi.sys.domain;

import java.io.Serializable;
import java.util.Date;

import com.piggy.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 承运商车辆司机对象 logi_carrier_car_driver
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("logi_carrier_car_driver")
public class LogiCarrierCarDriver implements Serializable {

    private static final long serialVersionUID=1L;

    /** id */
    @ApiModelProperty("id")
    @TableId(value = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    /** 车辆ID */
    @ApiModelProperty("车辆ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long carId;

    /** 司机ID */
    @ApiModelProperty("司机ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long driverId;

    /** 主驾司机（0否1是） */
    @ApiModelProperty("主驾司机（0否1是）")
    private Integer mainDriver;

    /** 创建时间  */
    private Date createTime;

    /** 更新时间  */
    private Date updateTime;
}
